package com.whacos.modules.blog.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.whacos.common.entity.BaseEntity;
import lombok.Data;
import lombok.ToString;

/**
 * @author xiongdun
 * @description 文章内容
 * @since 2018/11/17 17:11
 */
@TableName(value = "t_blog_content")
@Data
@ToString
public class Content extends BaseEntity {

    private static final long serialVersionUID = -8793644735316602109L;

    //标题
    private String title;
    // 重击
    private String slug;
    //内容
    private String content;
    //类型
    private String type;
    //标签
    private String tags;
    //分类
    private String categories;
    //
    private Integer hits;
    //评论数量
    private Integer commentsNum;
    //开启评论
    private Integer allowComment;
    //允许ping
    private Integer allowPing;
    //允许反馈
    private Integer allowFeed;
    //状态
    private Integer status;
    //作者
    private String author;

}
